Maven installation tutorial and maven tutorial
I. Preparations
1. Confirm that JDK and later are successfully installed on your computer.
2. win10 Operating System
3. maven installation package: http://maven.apache.org/download.cgi
Ii. decompress the
in:
Select Maven Project, check create a simple project (skip archetype selection), then click Next
Fill in the group ID and artifact ID, version default, packaging default is Jar,name,description optional, others do not fill
Then click Finish to:4. In the first three steps you can create a simple MAVEN project, if we want to create a MAVEN Web proj
Method/Step
1Create the Maven folder on the E drive first,Then create the maven0703 folder in MavenFinally, create the SRC folder and the Pom.xml file under maven0703650) this.width=650; "class=" Exp-image-default "alt=" maven tutorial Getting Started MAVEN configuration management compiling Java program "src=" htt
in:
Select Maven Project, check create a simple project (skip archetype selection), then click Next
Fill in the group ID and artifact ID, version default, packaging default is Jar,name,description optional, others do not fill
Then click Finish to:4. In the first three steps you can create a simple MAVEN project, if we want to create a MAVEN Web proj
: http://220.248.36.138:8290/svn/umsbsp/code/src/6.0/After checkout, right-click the project ->runas→build ...-Now we can use the maven command.In general, we can use the: mvnclean install command to perform a clean package installationAttached command:Mvnclean purge projects that have been builtMvninstall to install the project to a localMvnpackage Package a projectMvncompile compiling source codemvntest run testcase Mvntest-compile compiling t
Build maven with the new version of IntelliJ IDEA, and create a web project with Maven (Graphic tutorial), intellijmaven
I have never tried maven to manage projects before, but it is inconvenient to manually find the package export package. So today I started a maven test wi
This tutorial shows you how to create a generic Java/maven project from a MyEclipse Web project, or any other MAVEN project. These steps include the creation of the foundation and the use of MAVEN dependencies. You will learn to:Create a MAVEN utility project to add dependen
configuration below.Second, the project configuration.1. Add Source FolderMAVEN requires that you create the following source FolderSrc/main/resourcesSrc/main/javaSrc/test/resourcesSrc/test/javaAdd the above source FolderThe effect after adding:2. Configure the Build Path to set the libraries. Configure the dependent JDK.The effect after configuration is complete:After downloading the dependencies, the effect is as follows:3. Configure the path.Modify the output path individually:Src/main/resou
Tags: MoD compilation record view error click Control Lips IntroductionHow Eclipse imports MAVEN projects has been a problem for a lot of program apes and beginners, and it's a pain to use eclipse without knowing how to import Maven projects. Do not worry about the small part today brings you detailed Eclipse import Maven project detailed
first write to use the first write dependent versionIf d-->2, A--b1.0,b--b1.1,d--a and c==>b1.0,f-->d,c, select Shortest Path f--b1.13. If you want precise control of the dependency package, you can use the dependent exclusion functionDependencies,dependency under exclusions, exclude packages that do not need to be relied on, Gav declaration
Dependent aggregations
A place to compile multiple files, in Eclipse Maven follows project, and
convenient!2.4 Try to run the project:Here's an attempt to run the new MAVEN project, right-click the project, run as, and see some of Maven's lifecycle plugins, clean, install, and more. Selecting "5 Maven Build" will allow us to enter the MVN command ourselves.650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/85/9D/wKiom1eqBkCz3zi5AAGLn1oiJCE483.png-wh_500x0-wm_3 -wmp_4-s_245189026.png "title="
Go Struts2+spring3+hibernate4+maven+easyui Integration Introductory video + video tutorial sourceClick here to download nowFile list:Video Tutorial Source codeStruts2+spring3+hibernate4+maven+easyui integration Getting Started video 008.avi: HTTPS://PAN.BAIDU.COM/S/1DCMXMQ5XARIJONEPYA06PWStruts2+spring3+hibernate4+
[工欲善其事, its prerequisite]
Above, we briefly introduce the basic theory and configuration of dependency relationships. However, since this knowledge point is often used in our future development process, we illustrate the dependencies in this article by demonstrating examples, so please crossing must follow the steps and try it out for yourself. Take a closer look at the impact of this approach on our program architecture.
In particular, here is an example of a project that has been debugged, so
Maven Getting Started TutorialFirst, Maven IntroductionMAVEN is a project management toolIt contains:A Project Objects model (Project object models)A set of standard collectionsA Project life cycle (Project Lifecycle)A dependency management system (Dependency Management Systems)Logic used to run the plug-in (plugin) target (goal) defined in the life cycle phase (phase)Project structure:The source code is pl
package is only src. class files and some configuration files. So how to include pages and other files in it? Very simply, you just tell Maven where your JSP is located and configure it as follows:OK plus the above configuration, and then execute the install command, to be packaged, you will find that the WebContent files are all included in the war package. You can now copy the beaten war package to Tomcat and run it.You might think that you'll have
project:2. Select Maven Project and select Maven-archetype-webapp:3. Fill in GroupID and Artifactid:4. Enter project name and Module name:5. Open module settings, add Java source folder:Mark the Java folder as Sources,resources folder as resources:6. Set Facets:7. Set Artifacts:To add a Web application:exploded:Add Web application:archive (project packaged into a jar package):8, configure the Tomcat server
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.